| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

CompositorManager.h
1 // CompositorManager.h
3 //
5
6 namespace nkGraphics
7 {
14 class CompositorManager final : public Manager<Compositor>, public nkCommon::MaybeSingletonClass<CompositorManager>
15 {
16 public :
17
18 // Getters
22 Compositor* getActiveCompositor () const ;
26 Compositor* getDefaultCompositor () const ;
27
28 // Setters
35 void setActiveCompositor (Compositor* compositor) ;
42 void setDefaultCompositor (Compositor* compositor) ;
43
50 void prepareForContext (RenderContext* context) ;
51 } ;
52 }
nkGraphics::CompositorManager::prepareForContext
void prepareForContext(RenderContext *context)
nkGraphics::Compositor
A compositor, describing how to compose the rendering pipeline.
Definition: Compositor.h:23
nkGraphics::RenderContext
A rendering context, attached to a window or an offscreen texture.
Definition: RenderContext.h:14
nkGraphics::Manager
Base class for resource managers.
Definition: Manager.h:13
nkGraphics::CompositorManager::getActiveCompositor
Compositor * getActiveCompositor() const
nkGraphics::CompositorManager::getDefaultCompositor
Compositor * getDefaultCompositor() const
nkGraphics::CompositorManager
Manages the compositors recorded.
Definition: CompositorManager.h:15
nkGraphics::CompositorManager::setActiveCompositor
void setActiveCompositor(Compositor *compositor)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::CompositorManager::setDefaultCompositor
void setDefaultCompositor(Compositor *compositor)